﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="RevisionFile"
    targetNamespace="argument"
    elementFormDefault="unqualified"
    xmlns="argument"
    xmlns:mstns="argument"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
>

  <xs:element name="RevisionList">
    <xs:complexType>
      <xs:sequence maxOccurs="unbounded">
        <xs:element name="Revision">
          <xs:complexType>
            <xs:attribute name="sequence" type="xs:int" use="required">
              <xs:annotation>
                <xs:documentation>
                  This is the sequence number of the revision. It should be unique.
                </xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="filename" type="xs:string" use="required">
              <xs:annotation>
                <xs:documentation>
                  This is the name of a file containing executable sql.
                </xs:documentation>
              </xs:annotation>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  
</xs:schema>
